body{
    background: #1b2838;
}
/** 平台类型 **/
    .platform-img{
        display: inline-block;
        width: 20px;
        height: 20px;
        background-repeat: no-repeat;

        &.win{
            background-image:url(/images/public/icon/icon_platform_win.png) ;
        }

        &.mac{
            background-image:url(/images/public/icon/icon_platform_mac.png) ;
        }

        &.linux{
            background-image:url(/images/public/icon/icon_platform_linux.png) ;
        }
    }
/** 按钮 **/
    .btn{
        display: block;
        border-radius: 2px;
        border: none;
        padding: 0 15px;
        font-size: 15px;
        line-height: 30px;
        text-decoration: none;
    }

/************ 内容 ************/
section{
    height: auto;

    /******** 内容头部 ********/
    .page{
        background: url(/images/cart/background/cluster_bg_2.png) bottom center no-repeat;
        padding-bottom: 64px;
        margin-bottom: -30px;

       /***** 头部内容 *****/
        .page-content{
            margin-top: 15px;
            font-family: "motiva_sansregular";
            .content-title{
                padding-top: 10px;
                color: #56707f;
                font-size: 12px;
                a{
                    color: #8f98a0;
                    text-decoration: none;

                    &:hover{
                        color: #ffffff;

                    }
                }
            }
            .page-header{
                border: none;
                margin: 0px 0 10px;
                color: #ffffff;
                font-size: 34px;
                font-weight: 300;
                padding-top: 5px;
                letter-spacing: 2px;
            }
        }
    }

    /******** 购物车 ********/
    .cart-content{
        font-family: "motiva_sansregular";
        .content{
            display: flex;


            /***** 左边：购物车 *****/
            .left-content{
                width: 616px;

                /**** 购物车盒子 ****/
                .cartBox{
                    position: relative;
                    width: 100%;

                    /*** 购物车物品列表 ***/
                    .cart-item-list{
                        .cart-item{
                            position: relative;
                            min-height: 77px;
                            line-height: 16px;
                            padding: 0 2.5%;
                            font-size: 13px;
                            display: flex;
                            align-items: center;
                            justify-content: space-between;
                            background: rgba( 0, 0, 0, 0.2 );
                            margin-bottom: 3px;
                            

                            .cart-item-img{
                                width: 120px;
                                height: 45px;
                                cursor: pointer;
                                a{
                                    img{
                                        width: auto;
                                        height: 45px;
                                    }
                                }
                            }

                            .cart-item-title{
                                flex: 1;
                                display: flex;
                                justify-content: space-between;
                                align-items: center;
                                padding: 0 3%;

                                a{
                                    color: #c7d5e0;
                                    text-decoration: none;
                                    margin-top: -10px;
                                    cursor: pointer;
                                }
                            }

                            .cart-item-price{
                                display: flex;
                                flex-direction: column;
                                text-align: right;
                                padding-top: 10px;
                                .price{
                                    color: #c7d5e0;
                                    font-size: 13px;
                                }

                                .origin-price{
                                    text-decoration: line-through;
                                    color: #56707f;
                                    font-size: 11px;
                                }
                                
                                em{
                                    color: #56707f;
                                    text-decoration: underline;
                                    font-size: 11px;
                                    cursor: pointer;

                                    &:hover{
                                        color: #67c1f5;
                                    }
                                }
                            }

                            .cart-item-price.discount{
                                padding-top: 0;
                            }

                            .count-btnBox{
                                position: absolute;
                                display: flex;
                                justify-content: space-around;
                                align-items: center;
                                top: 28px;
                                right: 120px;
        
                                .count-btn{
                                    border-radius: 50%;
                                    width: 20px;
                                    height: 20px;
                                    line-height: 13px;
                                    background-color: rgba(0,0,0,0.3);
                                    border: 2px solid transparent;
                                    
                                    color: #67c1f5;
                                    outline: none;
        
                                    &:active{
                                        border: 2px solid rgba(103,193,245,.2);
                                        
                                    }
                                }
        
                                input{
                                    margin: 0 5px;
                                    width: 50px;
                                    height: 22px;
                                    text-align: center;
                                    background-color: rgba(0,0,0,0.3);
                                    border: none;
                                    outline: none;
                                    color: #67c1f5;
                                }
                                
                            }
                        }
                    }

                    /*** 购物车结算 ***/
                    .cart-checkout{
                        margin-top:4px ;
                        background: rgba(0,0,0,0.2);

                        .total-count{
                            padding: 16px;
                            
                            &-text{
                                margin-top: 10px;
                                font-size: 13px;
                                color: #c7d5e0;
                                font-weight: bold;
                                display: flex;
                                justify-content: space-between;
                                

                                .text-total-title{
                                    font-weight: 400;
                                    font-size: 11px;
                                    font-weight: bold;

                                    sup{
                                        font-weight: 300;
                                    }
                                }

                                .total-price{
                                    text-align: right;
                                    color: #c6d4df;
                                    font-size: 13px;
                                }
                            }

                        }
                        .cart-self{
                            padding: 4px 16px;
                            font-size: 13px;
                            color: #c6d4df;
                        }

                        &-buttons{
                            padding: 15px 0;
                            display: flex;
                            justify-content: flex-end;

                            a{
                                color: #D2E885;
                                background: linear-gradient( to bottom, rgba(121,153,5,1) 5%, rgba(83,105,4,1) 95%);
                                margin-bottom: 8px;
                                margin-right: 16px;


                                &:hover{
                                    background: linear-gradient( to bottom, rgba(164,208,7,1) 5%, rgba(107,135,5,1) 95%);
                                    color: #fff;
                                }
                            }
                        }
                    }
                    .cart-noticeBox{
                        padding: 10px 0;
                        background: #1B2838;

                        .cart-notice{
                            padding: 4px 16px;
                            
                            font-size: 13px;
                            span{
                                color: #c7d5e0;

                                + span{
                                    padding-left: 4px;
                                }
                            }
                            

                        }
                    }

                    /*** 删除全部按钮 和 继续购物 ***/
                    .cart-function{
                        display: flex;
                        flex-direction: column;

                        .del-cart-itemAll{
                            display: flex;
                            justify-content: flex-end;

                            em{
                                color: #56707f;
                                text-decoration: underline;
                                font-size: 12px;
                                padding-right: 15px;
                                cursor: pointer;

                                &:hover{
                                    text-decoration: none;
                                    color: #66c0f4;
                                }
                            }
                        }

                        .continue-shopping-btn{
                            display: flex;
                            justify-content: flex-start;

                            a{
                                display: block;
                                color: #67c1f5;
                                background: rgba( 103, 193, 245, 0.2 );

                                &:hover{
                                    background: linear-gradient( -60deg, #417a9b 5%,#67c1f5 95%);
                                    color: #fff;
                                }
                            }

                        }
                    } 

                    /*** 注意事项 ***/
                    .cart-digital-noticeBox{
                        h2{
                            margin-bottom: 5px;
                            text-transform: uppercase;
                            color: #fff;
                            margin: 0 0 10px;
                            font-size: 17px;
                            letter-spacing: 2px;
                            font-weight: normal;
                            padding-left: 15px;
                        }
                        .cart-digital-notice{
                            background: rgba( 0, 0, 0, 0.2 );
                            padding: 16px;
                            min-height: 57px;
                            margin-bottom: 20px;
                            display: flex;
                            justify-content: flex-start;
                            align-items: center;

                            img{
                                height: 57px;
                                width: 68px;
                            }

                            &-content{
                                display: flex;
                                flex-direction: column;
                                justify-content: center;
                                margin-left: 10px;
                                h4{
                                    font-size: 16px;
                                    font-weight: normal;
                                    color: #c6d4df;
                                    margin-bottom: 3px;
                                    margin-top: 10px;
                                }
                                p{
                                    color: #c6d4df;
                                    font-size: 12px;

                                }
                            }
                        }
                    }
                }
            }

            /***** 右边：购物车推荐 *****/
            .right-content{
                margin-left: 14px;
                /***** 焦点 *****/
                h2{
                    color: #fff;
                    margin: 0 0 10px;
                    font-size: 17px;
                    letter-spacing: 2px;
                    font-weight: normal;
                    padding-top: 2px;
                    font-family: "motiva_sansregular";
                }
                /***** 轮播图 *****/
                .focus-goods{
                    margin-bottom: 25px;
                    .swiper-wrapper{
                        width: 308px;
                        height: 394px;
                        margin-bottom: 4px;

                        .swiper-slide{
                            width: 100%;
                            height: 100%;
                            background: #15212e;

                            .focus-week{
                                width: 100%;
                                height: 100%;

                                &-img{
                                    width: 100%;
                                    height: 350px;
                                    background: url(/images/cart/background/spotlight_weeklong_deals.jpg);

                                    a{
                                        display: block;
                                        position: relative;
                                        width: 100%;
                                        height: 100%;
                                        background:url(/images/cart/background/weeklong_spotlight_text_overlay_schinese.png);
                                        border: 1px solid rgba(0, 0, 0, 0);

                                        span{
                                            font-weight: bold;
                                            color: #ffffff;
                                            font-size: 40px;
                                            position: absolute;
                                            top: 225px;
                                            left: 50%;
                                            transform: translateX(-50%);
                                            z-index: 3;
                                            font-family: "motiva_sansregular";
                                        }

                                        &:hover{
                                            border: 1px solid rgba(171, 218, 244, 0.6);
                                        }
                                    }
                                }

                                &-des{
                                    font-family: "motiva_sansregular";
                                    font-weight: 300;
                                    font-size: 13px;
                                    color: #8f98a0;
                                    text-align: center;
                                    margin-top: 20px;
                                }
                            }

                            .focus-good{
                                width: 100%;
                                height: 100%;
                                background-color: #fff;
                            }
                        }
                    }
                    .swiper-btns{
                        position: relative;
                        height: 18px;
                        width: 100%;

                        .swiper-pagination{
                            color:#fff;
                            bottom: 0;
                            
                            opacity: 0.2;
                            font-size: 12px;
                        }

                        .swiper-button{
                            height: 18px;
                            width: 38px;
                            bottom: 0;
                            background-color: rgba( 0, 0, 0, 0.4 );
                            border-radius: 3px;
                            top: 119%;

                            &::after{
                                font-size: 12px;
                                color: transparent;
                                width: 9px;
                                height: 7px;
                                background: url(/images/public/icon/icon_cluster_controls.png);
                                
                            }
                            &:hover{
                                background: linear-gradient(135deg, #3d6c8d 0%,#2e5470 100%);
                                &::after{
                                    background-position-y:-7px ;
                                }
                            }

                            &:focus{
                                outline: none;
                            }
                            &-prev{
                                &::after{
                                    background-position: -18px 0px;
                                    background-repeat: no-repeat;
                                }
                            }
                            &-next{
                                &::after{

                                    background-position: -9px 0px;
                                    background-repeat: no-repeat;
                                }
                            }


                        }
                    }
                }

                /***** 为你推荐 *****/
                .cart-recommend{
                    .recommend-title{
                        margin-bottom: 5px;
                        color: #fff;
                        margin: 0 0 10px;
                        font-size: 17px;
                        letter-spacing: 2px;
                        font-weight: normal;
                        font-family: "motiva_sansregular";
                    }
                    .recommend-des{
                        margin: -13px 0 5px;
                        font-size: 13px;
                        color: #56707f;
                    }

                    .recommend-goods{
                        display: grid;
                        width: 100%;
                        height: 198px;
                        grid-template-columns: 1fr 1fr;
                        grid-template-rows: 1fr 1fr;
                        grid-gap:2px 2px;
                        margin-bottom: 20px;


                        a{
                            display: block;
                            background: rgba( 0, 0, 0, 0.2 );
                            padding: 16px 17px 16px 16px;
                            box-sizing: border-box;
                            text-decoration: none;

                            p{
                                margin: 0;
                                font-size: 11px;
                                color: #acdbf5;
                            }
                        }
                    }
                }
            }        
        }
    }
}

